import { ApiProperty } from '@nestjs/swagger';
import { Column, Entity } from 'typeorm';
import { BaseEntity } from '../../../base.entity';
@Entity({ name: 'gather_parameter' })
export default class GatherParameter extends BaseEntity {


  @Column({ type: 'varchar', length: 50, unique: true, name: 'parameter_code', comment: '采集编码' })
  @ApiProperty()
  parameterCode: string;

  @Column({ type: 'varchar', length: 50,name:'parameter_name', comment: '采集名称' })
  @ApiProperty()
  parameterName: string;

  @Column({ type: 'varchar', nullable: true, comment: '备注' })
  @ApiProperty()
  remark: string;
}
